# Base image for redis
FROM        ppc64le/centos:7.2
MAINTAINER  Andy Zhang <zch@cn.ibm.com>
ENV         container=docker

ARG         FILESERVER=http://172.16.0.164:8080/base_image
ENV         FILESERVER ${FILESERVER}
ADD         $FILESERVER/epel-release-7-5.noarch.rpm epel.rpm
RUN         rpm -ivh epel.rpm && yum update -y
RUN         yum install -y redis
EXPOSE      6379
CMD         ["/bin/redis-server"]
